<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>角色管理</title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<% include("/admin/resource/common_css.html"){} %>
	</head>
	<body>
		<% include("/admin/common/header.html"){} %>
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>
			<div class="main-container-inner">
				 <% include("/admin/common/menu.html",{currentstr:"系统"}){} %>
				<div class="main-content">
									<% include("/admin/common/breadcrumb.html",{breadaddfirst:"系统管理",breadaddsecond:"角色管理",breadaddthird:"角色列表"}){} %>
					<div class="page-content">
					  <div style="height: 35px">
							<a href="${ctx!}/admin/auth/role/add" class="btn btn-success addbtn"/>添加</a>
							<br/>
					   </div>
						<table class="table table-striped table-bordered table-hover">
							<thead>
							<tr>
								<th>编号</th>
								<th>角色名称</th>
								<th>角色描述</th>
								<th width="200px">操作</th>
							</tr>
							</thead>
							<% for(r in list){%>
							<tr>
								<td>${rLP.index!}</td>
								<td>${r.name!}</td>
								<td>${r.description!}</td>
								<td>  
								  <a href="${ctx!}/admin/auth/role/detail?id=${r.id!}" class="btn btn-info">编辑</a>
								  <a href="#" onclick='delrow("${ctx!}/admin/auth/role/delete",this,"${r.id!}")'  class="btn btn-danger">删除</a>
								</td>
							</tr>
							<%}%>
						</table>
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->

				<% include("/admin/common/acesetting.html"){}%>
			</div><!-- /.main-container-inner -->
		</div><!-- /.main-container -->
	<% include("/admin/common/footer.html"){} %>
	<% include("/admin/resource/common_js.html"){} %>
</body>
</html>

